import Vue from 'vue'
import App from './App.vue'
import router from "./router";
import ElementUI from 'element-ui'
import locale from 'element-ui/lib/locale/lang/el'
import './styles.scss';
import axios from 'axios';
import * as echarts from 'echarts'
import store from './store'


Vue.prototype.$echarts = echarts;
Vue.prototype.$axios = axios;
// axios.defaults.headers.post['Content-Type'] = 'application/json';
axios.defaults.baseURL = '/api'



Vue.use(ElementUI, { locale });
// Vue.use(axios)


Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')

//尝试提交
